package com.punch.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.punch.course.mapper.ClassScheduleMapper;
import com.punch.course.model.ClassSchedule;
import com.punch.course.service.ClassScheduleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 课表实现层
 */
@Service
public class ClassScheduleServiceImpl extends ServiceImpl<ClassScheduleMapper, ClassSchedule> implements ClassScheduleService {


    @Override
    public List<ClassSchedule> listByClassIds(List<Long> classIds) {
        return getBaseMapper().selectByClassIds(classIds);
    }

}
